POV-Ray : Newsgroups : povray.general : Macro creating 2 textures? : Re: Macro creating 2 textures? Server Time
31 Jul 2024 20:21:29 EDT (-0400)
  Re: Macro creating 2 textures?  
From: Jaime Vives Piqueres
Date: 21 Sep 2006 03:04:57
Message: <45123999@news.povray.org>
Raf256 wrote:
> How can I write a macro that creates a layaered texture, since
> 
> #macro foo
> texture {}
> texture {}
> #end

   #macro foo()
    #local t_result=
    texture{}
    texture{}
    #local dummy=0;
    t_result
   #end

--
Jaime


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.